package com.wcar.store.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.wcar.common.entity.CouponCodes;
import com.wcar.common.entity.WashCarCoupon;
import com.wcar.common.vo.Result;
import com.wcar.store.vo.FrontUserStoreVO;
import com.wcar.store.vo.StoreVo;

import java.util.List;

public interface CouponService {
    Result<IPage> getAll(StoreVo storeVo);

    Result<Integer> insert(CouponCodes couponCodes);

    Result<Integer> update(CouponCodes couponService);

    Result<Integer> delete(Integer couponId);

    Result<List<WashCarCoupon>> selectCarCoupon(FrontUserStoreVO frontUserStoreVO);
}
